package com.starblink.frame.base.adapter

import androidx.viewbinding.ViewBinding

abstract class BaseBindingVH<M, B : ViewBinding> constructor(val binding: B) :
    BaseVH<M>(itemView = binding.root) {

//    constructor(clzBinding: Class<B>, parent: ViewGroup) : this(clzBinding.let { clz ->
//        clz.declaredMethods.find { it.name == "inflate" && it.parameterTypes.size == 3 }?.let { method ->
//            method.isAccessible = true
//            method.invoke(clz, LayoutInflater.from(parent.context), parent, false) as B
//        }!!
//    })
}

